#ifndef INFO_H
#define INFO_H

#include <QDialog>
#include <QDebug>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QTextCodec>
#include <QFile>
#include <QMessageBox>


namespace Ui {
class Info;
}

class Info : public QDialog
{
    Q_OBJECT
    
public:
    explicit Info(QWidget *parent = 0);
    ~Info();
    void do_post(QString url,QString content);
    void do_get(QString url,QString content);
    void startPost();
    void ShowOtherTermScore();
    QString everyTermStr;



private slots:
    void replyFinished(QNetworkReply* reply);
    void getImageFinished(QNetworkReply* image);
    void on_pushButton_clicked();
    void on_comboBox_activated();
    QString currentTermLink(QString term);

private:
    Ui::Info *ui;
    QNetworkAccessManager *netManager;




};

#endif // INFO_H
